﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using MVlog.Core;
using System;
using System.Collections.Generic;
using System.Text;

namespace MVlog.Application
{
    [AutoMap(typeof(Message))]
    public class MessageDto:EntityDto<long>
    {
        /// <summary>
        /// 留言内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 被留言人Id
        /// </summary>
        public long MessageToId { get; set; }

        ///// <summary>
        ///// 留言人
        ///// </summary>
        //public long MessageFromId { get; set; }
        /// <summary>
        /// 留言人名称
        /// </summary>
        public string CreatorUserName { get; set; }

        /// <summary>
        /// 父节点
        /// </summary>
        public long? ParentId { get; set; }

        /// <summary>
        /// 留言人Id
        /// </summary>
        public long? CreatorUserId { get; set; }
        /// <summary>
        /// 留言时间
        /// </summary>
        public DateTime CreationTime { get; set; }
    }
}
